<!-- eslint-disable vue/multi-word-component-names -->
<template>
    <v-scale-screen width="1920" height="1080" :fullScreen="true">
        <h2>数据大屏</h2>
    </v-scale-screen>
</template>

<script lang="ts" setup>
    // scale方案
    // const windowScale = (w = 1920, h = 1080)=>{
    //     let box = document.querySelector('.box');
    //     let ww = window.innerWidth / w;
    //     let wh = window.innerHeight / h;
    //     let scale = ww < wh ? ww : wh;
    //     box.style.transform = `scale(${scale}) translate(-50%,-50%)`;
    // }
    // window.onresize = () => {   
    //     windowScale();
    // }
</script>

<style scoped lang="scss">
    
</style>